This replication package consists of several datasets, do-files and output documents: 

1) Data
	- analysis_England_Wales: data on markets per year in England and Wales
	- analysis_Germany: data on German markets in a city-year panel
	- analysis_Italy: data on markets per year in Italy
	- citiesandcoordinates: coordinates of German cities
	- citiesanddistrhine: distance to Rhine for German cities
	- cityidandlorddata: landlord of German cities
	- distances_Cologne: data on student number for cities next to Cologne
	- distances_Heidelberg: data on student number for cities next to Heidelberg
	- markets_citysizes: data on market grants and city sizes in the Middle Ages
	- markets_Germany: raw data on German markets in a city-year panel
	- markets_Italy: raw data on the date of market grants of Italian cities
	- students_Germany: data on German student enrolment in German and foreign universities
	- universities_urbanization: data on universities and urbanisation across several countries over time
	- urbanization_manuscript: data on urbanization and manuscript production across several countries over time

					
2) Do-Files
	1. dataset_construction: This do-file constructs the dataset "analysis_Germany.dta".				
	2. main_analysis: This do-file contains all the regressions used for the tables and figures of the main paper. 
	3. appendix_analysis: This do-file contains all the regressions used for the tables and figures of the online appendix. 

3) Output
	1. Tables: This folder contains all the tables of the main paper and the online appendix in CSV format.
	2. Figures: This folder contains all the figures of the main paper and the online appendix as a Stata Graph File and as an Encapsulated PostScript.


4) Discrepancies between the corrected documentation and the published version of the paper:
	1. Table 6, Column 4
		- The corrected documentation excludes Wuerttemberg. Results reproduced in Column 4.1.
		- The published version (mistakenly) excludes Baden. Results reproduced in Column 4.2.
	2. Table A1, Column 3
		- The corrected documentation displays the relationship between the number of market grants and city size, conditional on having city size data in 1500. Results reproduced in Column 3.1.
		- The published version (mistakenly) displays the relationship between the number of market grants and city size, not conditioning on having city size data in 1500. Results reproduced in Column 3.2.
	3. Table A1, Column 4
		- The corrected documentation displays the relationship between the existence of market grants and city size, conditional on having city size data in 1500. Results reproduced in Column 4.1.
		- The published version (mistakenly) displays the relationship between existence of market grants and city size, not conditioning on having city size data in 1500. Results reproduced in Column 4.2.



Acknowledgments

Special thanks to Anna Caules Zsótér for preparing this replication package.